package com.qf.service;

import com.qf.entity.Orders;
import com.qf.entity.WebOrder;
import com.qf.exception.BizException;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OrdersService {

    List<Orders> queryById(int oUserId, int oStatus) throws BizException;
	List<Orders> QueryByStatus(@Param("status") Integer status,@Param("uid") Integer id);

    List<WebOrder> getOrdersByStatus(Integer status, Integer userId );
    List<Orders> ChangeStatus(@Param("no") String no, @Param("status") Integer status);
    void timeOutOrder();
    Integer batchInsert(List<Orders> ordersList);
}
